<!--Gordana Pejic 191/01-->
<?php
$dbhost = "localhost";
$dbuser = "sibuser";
$dbpass = "sib011";

function dbConnect($db="") {
    //global $dbhost, $dbuser, $dbpass;
    $dbhost = "localhost";
    $dbuser = "sibuser";
    $dbpass = "sib011";
    $dbcon = mysql_connect($dbhost, $dbuser, $dbpass)
            or die('Could not connect: ' . mysql_error());
    if ($db != "" and !mysql_select_db($db, $dbcon))
        die('Could not select database: ' . mysql_error());
    return $dbcon;
}

// vraca konekciju ka bazi
?>
